[INFO] fetching crate llmg-gateway 0.2.0...
[INFO] testing llmg-gateway-0.2.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate llmg-gateway 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate llmg-gateway 0.2.0
[INFO] finished tweaking crates.io crate llmg-gateway 0.2.0
[INFO] tweaked toml for crates.io crate llmg-gateway 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate llmg-gateway 0.2.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate llmg-gateway 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zmij v1.0.20
[INFO] [stderr]   Downloaded clap v4.5.57
[INFO] [stderr]   Downloaded axum-core v0.4.5
[INFO] [stderr]   Downloaded matchit v0.7.3
[INFO] [stderr]   Downloaded llmg-core v0.2.0
[INFO] [stderr]   Downloaded system-configuration v0.7.0
[INFO] [stderr]   Downloaded libc v0.2.181
[INFO] [stderr]   Downloaded rustls-webpki v0.103.9
[INFO] [stderr]   Downloaded llmg-providers v0.2.0
[INFO] [stderr]   Downloaded axum v0.7.9
[INFO] [stderr]   Downloaded clap_builder v4.5.57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c29fa5667e09e2d0b25cb768c4f35c8c4fbda4b3162deae5a6aa1a8f0253c96e
[INFO] running `Command { std: "docker" "start" "-a" "c29fa5667e09e2d0b25cb768c4f35c8c4fbda4b3162deae5a6aa1a8f0253c96e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c29fa5667e09e2d0b25cb768c4f35c8c4fbda4b3162deae5a6aa1a8f0253c96e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c29fa5667e09e2d0b25cb768c4f35c8c4fbda4b3162deae5a6aa1a8f0253c96e", kill_on_drop: false }`
[INFO] [stdout] c29fa5667e09e2d0b25cb768c4f35c8c4fbda4b3162deae5a6aa1a8f0253c96e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5600c137707d68b29164467cf9efbbf32c829522b3b795e35e941bc212a86965
[INFO] running `Command { std: "docker" "start" "-a" "5600c137707d68b29164467cf9efbbf32c829522b3b795e35e941bc212a86965", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zmij v1.0.20
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.57
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling clap v4.5.57
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling llmg-core v0.2.0
[INFO] [stderr]    Compiling llmg-providers v0.2.0
[INFO] [stderr]    Compiling llmg-gateway v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s
[INFO] running `Command { std: "docker" "inspect" "5600c137707d68b29164467cf9efbbf32c829522b3b795e35e941bc212a86965", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5600c137707d68b29164467cf9efbbf32c829522b3b795e35e941bc212a86965", kill_on_drop: false }`
[INFO] [stdout] 5600c137707d68b29164467cf9efbbf32c829522b3b795e35e941bc212a86965
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98e52d1db091ced667ea37716263758cbc4f85a0d1a224d1a2694eef9fc9c83e
[INFO] running `Command { std: "docker" "start" "-a" "98e52d1db091ced667ea37716263758cbc4f85a0d1a224d1a2694eef9fc9c83e", kill_on_drop: false }`
[INFO] [stderr]    Compiling llmg-gateway v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.89s
[INFO] running `Command { std: "docker" "inspect" "98e52d1db091ced667ea37716263758cbc4f85a0d1a224d1a2694eef9fc9c83e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98e52d1db091ced667ea37716263758cbc4f85a0d1a224d1a2694eef9fc9c83e", kill_on_drop: false }`
[INFO] [stdout] 98e52d1db091ced667ea37716263758cbc4f85a0d1a224d1a2694eef9fc9c83e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 56b6ccc16c7b73bd3555f266bfd392285d82ada23e82ba73ed6ee49f35962aff
[INFO] running `Command { std: "docker" "start" "-a" "56b6ccc16c7b73bd3555f266bfd392285d82ada23e82ba73ed6ee49f35962aff", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/llmg_gateway-6efbbde7e73c05c3)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test config::tests::test_example_config ... ok
[INFO] [stdout] test middleware::tests::test_rate_limiter_disabled ... ok
[INFO] [stdout] test middleware::tests::test_rate_limiter_enforces_limit ... ok
[INFO] [stdout] test middleware::tests::test_rate_limiter_per_provider ... ok
[INFO] [stdout] test middleware::tests::test_cors_headers ... ok
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test middleware::tests::test_retry_config_delay_calculation ... ok
[INFO] [stdout] test middleware::tests::test_retry_config_delay_capped ... ok
[INFO] [stdout] test middleware::tests::test_should_not_retry_auth_error ... ok
[INFO] [stdout] test middleware::tests::test_should_not_retry_invalid_request ... ok
[INFO] [stdout] test middleware::tests::test_should_not_retry_4xx_errors ... ok
[INFO] [stdout] test middleware::tests::test_should_retry_429_as_api_error ... ok
[INFO] [stdout] test middleware::tests::test_should_retry_5xx_errors ... ok
[INFO] [stdout] test middleware::tests::test_should_retry_rate_limit ... ok
[INFO] [stdout] test middleware::tests::test_token_bucket_consume ... ok
[INFO] [stdout] test middleware::tests::test_with_retry_no_retry_on_invalid_request ... ok
[INFO] [stdout] test routing::tests::test_model_aliases ... ok
[INFO] [stdout] test routing::tests::test_parse_model_id_invalid ... ok
[INFO] [stdout] test middleware::tests::test_with_retry_success_first_try ... ok
[INFO] [stdout] test routing::tests::test_parse_model_id_nested ... ok
[INFO] [stdout] test streaming::tests::test_sse_stream_creation ... ok
[INFO] [stdout] test middleware::tests::test_should_retry_http_error ... ok
[INFO] [stdout] test streaming::tests::test_chat_completion_chunk_serialization ... ok
[INFO] [stdout] test middleware::tests::test_should_retry_timeout ... ok
[INFO] [stdout] test routing::tests::test_parse_model_id_simple ... ok
[INFO] [stdout] test middleware::tests::test_token_bucket_refill ... ok
[INFO] [stdout] test config::tests::test_expand_env_var ... ok
[INFO] [stdout] test middleware::tests::test_with_retry_no_retry_on_auth_error ... ok
[INFO] [stdout] test middleware::tests::test_with_retry_exhausted ... ok
[INFO] [stdout] test middleware::tests::test_with_retry_success_after_failures ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "56b6ccc16c7b73bd3555f266bfd392285d82ada23e82ba73ed6ee49f35962aff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56b6ccc16c7b73bd3555f266bfd392285d82ada23e82ba73ed6ee49f35962aff", kill_on_drop: false }`
[INFO] [stdout] 56b6ccc16c7b73bd3555f266bfd392285d82ada23e82ba73ed6ee49f35962aff
